package com.example.test.自己的责任连.具体执行类;

import com.example.test.自己的责任连.AbstractHandel;
import org.springframework.stereotype.Service;

@Service
public class HandelTwo extends AbstractHandel {
    @Override
    public int dohandel(int num) {
        num = num + 2;
        return num;
    }

    @Override
    public Boolean getHandel(int n) {
        return n==2;
    }
}
